#ifndef __STORMWIDGET_STORMWIDGET_UILIBRARY_CTASKPANELUI_TASKPANELUI_H
#define __STORMWIDGET_STORMWIDGET_UILIBRARY_CTASKPANELUI_TASKPANELUI_H

#include "VerticalLayoutUI.h"

class CTaskPanelUI:public CVerticalLayoutUI
{
public:
	CTaskPanelUI(void);
	virtual ~CTaskPanelUI(void);

	enum { FADE_TIMERID = 10 };
	enum { FADE_DELAY = 500UL };

	LPCTSTR GetClass() const;

	void Event(TEventUI& event);
	void SetPos(RECT rc);
	SIZE EstimateSize(SIZE szAvailable);
	void DoPaint(HDC hDC, const RECT& rcPaint);

protected:
	HBITMAP m_hFadeBitmap;
	DWORD m_dwFadeTick;
	RECT m_rcFade;
};
#endif //__STORMWIDGET_STORMWIDGET_UILIBRARY_CTASKPANELUI_TASKPANELUI_H
